<%@include file="template/configuration.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>${website} || Homepage</title>
        ${stylesheet}
        ${jquery}
    </head>
    <body>
        <div class="container">
            <%@include file="template/header.jsp" %>
            <div class="content">
                <h1>Welcome <c:choose><c:when test="${sessionScope.userdetails!=null}">${sessionScope.userdetails.firstname} ${sessionScope.userdetails.insertion} ${sessionScope.userdetails.lastname}</c:when><c:otherwise>visitor</c:otherwise></c:choose></h1>
                <div class="full-block">
                    <div class="slideshow <c:choose><c:when test="${sessionScope.userdetails!=null}">loggedin</c:when></c:choose>">
                        
                    </div>
                </div>
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ultrices accumsan vulputate. Morbi tristique metus 
et neque gravida tincidunt gravida arcu dapibus. Nullam in eros nec lorem hendrerit hendrerit. Etiam suscipit 
volutpat justo, vel placerat neque rutrum ac. Duis gravida auctor venenatis. Phasellus at eros a felis fringilla pretium. 
Aliquam interdum purus ac sapien eleifend sed interdum tortor condimentum. Suspendisse commodo pellentesque.</p>
               <c:choose> <c:when  test="${sessionScope.userdetails!=null}">
                <div class="blocks">
                    <div class="third-block">
                        <h2>Next Lessons</h2>
                        <div class="information">
                            <a href="">
                                <div class="title">
                                    Mathematics
                                </div>
                                <div class="date">
                                    30-11-2012
                                </div>
                                <div class="clear"></div>
                                <span>
                                    Lesson 1 starts at 14.00
                                </span>
                            </a>
                        </div>
                        <div class="information">
                            <a href="">
                                <div class="title">
                                    Mathematics
                                </div>
                                <div class="date">
                                    30-11-2012
                                </div>
                                <div class="clear"></div>
                                <span>
                                    Lesson 1 starts at 14.00
                                </span>
                            </a>
                        </div>
                        <div class="button"><a href="">See more</a></div>
                    </div>
                    <div class="third-block">
                        <h2>Last updates</h2>
                        <div class="information">
                            <a href="">
                                <div class="title">
                                    Mathematics
                                </div>
                                <div class="date">
                                    30-11-2012
                                </div>
                                <div class="clear"></div>
                                <span>
                                    Lesson 2 added
                                </span>
                            </a>
                        </div>
                        <div class="information">
                            <a href="">
                                <div class="title">
                                    Mathematics
                                </div>
                                <div class="date">
                                    30-11-2012
                                </div>
                                <div class="clear"></div>
                                <span>
                                    Quiz 1 added
                                </span>
                            </a>
                        </div>
                        <div class="button"><a href="">See more</a></div>
                    </div>
                    <div class="third-block">
                        <h2>Newest members</h2>
                        <div class="information no-margin">
                            <a href="">Davis Jackson</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Abbey Moore</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Sam Damboom</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Christian Bleach</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Jasper van Leeuwen</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Kevin Zetels</a>
                        </div>
                        <div class="button"><a href="">See more</a></div>
                    </div>
                </div>
                 </c:when>
            <c:otherwise>
                <div class="blocks">
                    <div class="third-block">
                        <h2>Free lessons</h2>
                        <div class="information">
                            <a href="">
                                <div class="title">
                                    UML
                                </div>
                                <!-- clear //-->
                                <div class="clear"></div>
                                <span>
                                    Free lesson
                                </span>
                            </a>
                        </div>
                        <div class="information">
                            <a href="">
                                <div class="title">
                                    Mathematics
                                </div>
                                <!-- clear //-->
                                <div class="clear"></div>
                                <span>
                                    Free lesson
                                </span>
                            </a>
                        </div>
                        <div class="information">
                            <a href="">
                                <div class="title">
                                    Dutch
                                </div>
                                <!-- clear //-->
                                <div class="clear"></div>
                                <span>
                                    Free lesson
                                </span>
                            </a>
                        </div>
                        <div class="button"><a href="">See more</a></div>
                    </div>
                    <div class="signup">
                        <a href="register.jsp"></a>
                    </div>
                    <div class="third-block">
                        <h2>Newest members</h2>
                        <div class="information no-margin">
                            <a href="">Davis Jackson</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Abbey Moore</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Sam Damboom</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Christian Bleach</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Jasper van Leeuwen</a>
                        </div>
                        <div class="information no-margin">
                            <a href="">Kevin Zetels</a>
                        </div>
                        <div class="button"><a href="">See more</a></div>
                    </div>
                </div></c:otherwise></c:choose>
            </div>
            <%@include file="template/footer.jsp" %>
        </div>
    </body>
</html>
